package com.wn.pettyloan.service;

import com.wn.pettyloan.entity.UserQuestion;
import com.wn.pettyloan.vo.QandAVo;

import java.util.List;

/**
 * @program: pettyloan
 * @InterfaceName QuestionService
 * @description:
 * @author: lyy
 * @create: 2022-12-14 10:40
 **/
public interface QuestionService {
    int deleteByPrimaryKey(Long id);

    int insert(UserQuestion record);

    int insertSelective(UserQuestion record);

    UserQuestion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserQuestion record);

    int updateByPrimaryKey(UserQuestion record);

    List<QandAVo> selectQuesAndAnswer();
}